package com.cnpinxi.service;

import com.cnpinxi.domain.ProductType;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

/**
 * Created by lutao on 2017/7/19.
 */
public interface ProductTypeService {
    List<ProductType> getProductTypeList(Map<String, String> map);

    void modifyProductType(ProductType productType);

    ProductType selectByPrimaryKey(Integer tid);

    List<ProductType> getParentTypeList(Map<String, String> map);

    PageInfo getPageInfoProductTypeList(Map<String, String> map);
}
